package com.guoqiang.class_two.three;

public abstract class AbstractPackage {
    //成员变量
    private double mothPostage; //用于描述每月资费

    //无参构造方法
    public AbstractPackage() {
    }

    //有参构造方法
    public AbstractPackage(double mothPostage) {
        this.mothPostage = mothPostage;
    }

    public double getMothPostage() {
        return mothPostage;
    }

    public void setMothPostage(double mothPostage) {
        this.mothPostage = mothPostage;
    }

    //自定义抽象方法
    public abstract void show();
}
